{
    "manufacturer": "KJ-Modify",
    "keyboard_name": "RS40",
    "maintainer": "Audite Marlow",
    "bootloader": "stm32-dfu",
    "diode_direction": "ROW2COL",
    "features": {
        "bootmagic": true,
        "command": false,
        "console": false,
        "extrakey": true,
        "mousekey": true,
        "nkro": true
    },
    "matrix_pins": {
        "cols": ["B12", "B14", "B15", "A8", "A9", "C13", "B9", "B8", "B5", "B4", "B3", "A15"],
        "rows": ["B13", "A10", "B1", "B10"]
    },
    "processor": "STM32F401",
    "url": "https://www.aliexpress.us/item/3256803963501165.html",
    "usb": {
        "device_version": "1.0.0",
        "pid": "0x5253",
        "vid": "0x4B4A"
    },
    "layouts": {
        "LAYOUT": {
            "layout": [
                {"matrix": [0, 0], "label": "ESC", "x": 0, "y": 0},
                {"matrix": [0, 1], "label": "Q", "x": 1, "y": 0},
                {"matrix": [0, 2], "label": "W", "x": 2, "y": 0},
                {"matrix": [0, 3], "label": "E", "x": 3, "y": 0},
                {"matrix": [0, 4], "label": "R", "x": 4, "y": 0},
                {"matrix": [0, 5], "label": "T", "x": 5, "y": 0},
                {"matrix": [0, 6], "label": "Y", "x": 6, "y": 0},
                {"matrix": [0, 7], "label": "U", "x": 7, "y": 0},
                {"matrix": [0, 8], "label": "I", "x": 8, "y": 0},
                {"matrix": [0, 9], "label": "O", "x": 9, "y": 0},
                {"matrix": [0, 10], "label": "P", "x": 10, "y": 0},
                {"matrix": [0, 11], "label": "BACKSPACE", "x": 11, "y": 0},

                {"matrix": [1, 0], "label": "CAPSLOCK", "x": 0, "y": 1, "w": 1.25},
                {"matrix": [1, 1], "label": "A", "x": 1.25, "y": 1},
                {"matrix": [1, 2], "label": "S", "x": 2.25, "y": 1},
                {"matrix": [1, 3], "label": "D", "x": 3.25, "y": 1},
                {"matrix": [1, 4], "label": "F", "x": 4.25, "y": 1},
                {"matrix": [1, 5], "label": "G", "x": 5.25, "y": 1},
                {"matrix": [1, 6], "label": "H", "x": 6.25, "y": 1},
                {"matrix": [1, 7], "label": "J", "x": 7.25, "y": 1},
                {"matrix": [1, 8], "label": "K", "x": 8.25, "y": 1},
                {"matrix": [1, 9], "label": "L", "x": 9.25, "y": 1},
                {"matrix": [1, 11], "label": "ENTER", "x": 10.25, "y": 1, "w": 1.75},

                {"matrix": [2, 0], "label": "LSHIFT", "x": 0, "y": 2, "w": 1.75},
                {"matrix": [2, 2], "label": "Z", "x": 1.75, "y": 2},
                {"matrix": [2, 3], "label": "X", "x": 2.75, "y": 2},
                {"matrix": [2, 4], "label": "C", "x": 3.75, "y": 2},
                {"matrix": [2, 5], "label": "V", "x": 4.75, "y": 2},
                {"matrix": [2, 6], "label": "B", "x": 5.75, "y": 2},
                {"matrix": [2, 7], "label": "N", "x": 6.75, "y": 2},
                {"matrix": [2, 8], "label": "M", "x": 7.75, "y": 2},
                {"matrix": [2, 9], "label": "COMMA", "x": 8.75, "y": 2},
                {"matrix": [2, 10], "label": "PERIOD", "x": 9.75, "y": 2},
                {"matrix": [2, 11], "label": "RSHIFT", "x": 10.75, "y": 2, "w": 1.25},

                {"matrix": [3, 0], "label": "LCTRL", "x": 0, "y": 3, "w": 1.25},
                {"matrix": [3, 1], "label": "FN2", "x": 1.25, "y": 3},
                {"matrix": [3, 2], "label": "WIN", "x": 2.25, "y": 3, "w": 1.25},
                {"matrix": [3, 4], "label": "SPACE", "x": 3.5, "y": 3, "w": 2.25},
                {"matrix": [3, 7], "label": "FN", "x": 5.75, "y": 3, "w": 2.75},
                {"matrix": [3, 9], "label": "SLASH", "x": 8.5, "y": 3, "w": 1.25},
                {"matrix": [3, 10], "label": "SEMICOLON", "x": 9.75, "y": 3},
                {"matrix": [3, 11], "label": "RCTRL", "x": 10.75, "y": 3, "w": 1.25}
            ]
        }
    }
}
